package com.ht.service;

import com.ht.bean.*;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import javax.xml.ws.Service;
import java.util.List;
import java.util.Map;

public interface EnrollmentService {

    //招生模块
    //查询招生信息表
    List<Map> etlist(Integer startIndex, Integer pageSize, Enrollment et);

    //查询总页数
    public int countet(Enrollment et);

    //查询专业表
    public List<Major> allmajor();

    //查询班级类别表
    public List<Classtype> allclasstype();

    //新增
    boolean etadd(Enrollment enrollment);

    //预定报名费
    boolean ydbmf(Enrollment enrollment);

    //预定报名费审核
    boolean ydbmfsh(Enrollment enrollment);

    //提成金额
    boolean tcje(Enrollment enrollment);

    //试学
    boolean sx(Enrollment enrollment);

    //学生状态  为试学/流失
    boolean wsx(Enrollment enrollment);

    //查询id
    public Enrollment cxid(@Param("enrollmentId") Integer enrollmentId);

    //删除
    boolean delet(String enrollmentId);

    //查询要修改的id
    List<Enrollment> selbyid(String enrollmentId);

    //修改
    public boolean updet(Enrollment enrollment);

    //------------------------------------------------------------------------------

    //文件管理模块
    public List<Map> alldc(Integer startIndex, Integer pageSize, Datadoc datadoc);

    //查询总页数
    public int counte(Datadoc datadoc);

    //查询员工表
    public List<Emp> allemp();

    //新增
    public boolean dcadd(Datadoc datadoc);

    //删除
    boolean dcdel(String docId);

    //根据id查询文件名
    public Datadoc XzDatadoc(String docId);


    //------------------------------------------------------------------------------
    //系统报表模块

   //招生统计
   //查询招生信息表
   List<Map> bblist(Integer startIndex, Integer pageSize, Enrollment et);

    //查询总页数
    public int countb(Enrollment et);

    //查询招生信息表 整图形
    public List<Map> txlist();

    //预定报名费统计
    List<Map> fylist(Integer startIndex, Integer pageSize, Enrollment et);

    //查询总页数
    public int countf(Enrollment et);

}
